﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="read_year.aspx.cs" Inherits="AnyOffice.general.report.info.read_year" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>查看月度汇报</title>
		
		<SCRIPT language="javascript">
		    function CheckForm() {
		        if (document.Form1.txtContent.value == "") {
		            alert("点评内容不能为空！");
		            document.Form1.txtContent.focus();
		            return false;
		        }
		        return true;
		    }
		</SCRIPT>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0" class="tab_pub" align="center">
					<TR>
						<TD class="TableHeader" align="center" colSpan="2">
							<asp:Literal id="litTitle" runat="server"></asp:Literal></TD>
					</TR>
					<TR>
						<TD class="TableContent" align="center" colSpan="2">
							<asp:Literal id="litUserName" runat="server"></asp:Literal>&nbsp;&nbsp; 发布于：
							<asp:Literal id="litReportTime" runat="server"></asp:Literal></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>本月成绩：</TD>
						<TD class="TableData" vAlign="top" width="90%" height="60">
							<asp:Literal id="litNote1" runat="server"></asp:Literal></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>目标情况：</TD>
						<TD class="TableData">
							<asp:Literal id="litNote2" runat="server"></asp:Literal></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>进度与说明：</TD>
						<TD class="TableData">
							<asp:Literal id="litNote3" runat="server"></asp:Literal></TD>
					</TR>
					<%--<TR>
						<TD class="TableData" noWrap>进修健康状况：</TD>
						<TD class="TableData">
							<asp:Literal id="litNote4" runat="server"></asp:Literal></TD>
					</TR>--%>
					<asp:Panel id="pnlAttachment" runat="server" Visible="False">
						<TR>
							<TD class="TableData">附件文件:</TD>
							<TD class="TableData" noWrap>
								<asp:Literal id="litAttachment" runat="server"></asp:Literal></TD>
						</TR>
					</asp:Panel>
					<asp:Repeater id="rptComment" runat="server">
						<HeaderTemplate>
							<TR>
								<TD class="TableData">领导点评：</TD>
								<TD class="TableData" noWrap>
						</HeaderTemplate>
						<ItemTemplate>
							<FONT color="#0000ff">
								<%#Eval("UserName")%>
								&nbsp;&nbsp;<%#Eval("SendTime")%>
								<%#Eval("UserId").ToString() == User.Identity.Name ? "&nbsp;&nbsp;<a href=\"delete.aspx?comment_id=" + Eval("CommentId").ToString() + "&report_id=" + ViewState["ReportId"].ToString() + "&referrer=read_week.aspx\">删除</a>" : ""%>
								<BR>
							</FONT>
							<%#Eval("Content")%>
							<br>
							<br>
						</ItemTemplate>
						<FooterTemplate>
							</TD> </TR>
						</FooterTemplate>
					</asp:Repeater>
					<TR>
						<TD class="TableHeader" colSpan="2"><IMG src="/images/green_arrow.gif" align="absMiddle">
							发表点评：
						</TD>
					</TR>
					<TR>
						<TD class="TableData">点评内容：</TD>
						<TD class="ta_txt"><TEXTAREA class="BigInput" id="txtContent" name="txtContent" rows="5" cols="57" runat="server"></TEXTAREA>
						</TD>
					</TR>
					<TR>
						<TD class="TableData">提醒：</TD>
						<TD class="ta_txt">
							<asp:CheckBox id="ckbSms" runat="server" Checked="True" Text="使用内部短信提醒员工"></asp:CheckBox>
							<asp:CheckBox id="ckbMobile" runat="server" Visible="False" Text="使用手机短信提醒员工"></asp:CheckBox></TD>
					</TR>
					<TR align="center">
						<TD colSpan="2" class="bnt_con">
						    <table width="140" cellpadding="0" cellspacing="0" border="0" style="border:none;">
							  <tr>
							    <td align="left" style="border:none;"><asp:Button id="btnSubmit" runat="server" Text="提交点评" CssClass="bnt02" Width="70" onclick="btnSubmit_Click"></asp:Button></td>
								<td align="right" style="border:none;"><INPUT class="bnt01" onClick="javascript:window.close();" type="button" value="关 闭"></td>
							  </tr>
							</table>
							
						</TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
